.PHONY:all
all:tcpserverd tcpclient

tcpserverd:main.cc
	g++ $^ -o $@ -std=c++11 -lpthread
tcpclient:tcpclient.cc
	g++ $^ -o $@ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf tcpserverd tcpclient